//
//  FeedTableViewCell.h
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/14.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FeedModel.h"

@class FeedTableViewCell;
@protocol FeedTableViewCellDelegate;

@protocol FeedTableViewCellDelegate <NSObject>
@optional
///关注按钮被点击
- (void)followBtnClicked:(FeedTableViewCell *)feedCell;

///价值按钮被点击
- (void)moneyBtnClicked:(FeedTableViewCell *)feedCell;

///点赞按钮被点击
- (void)thumbBtnClicked:(FeedTableViewCell *)feedCell;

///评论按钮被点击
- (void)commentBtnClicked:(FeedTableViewCell *)feedCell;

@end

@interface FeedTableViewCell : UITableViewCell

///头像
@property(nonatomic, strong)UIImageView *avator;

///昵称 + 贡献值
@property(nonatomic, strong)UILabel *nameAndDevote;

///关注
@property(nonatomic, strong)UIButton *follow;

///包含上面的视图
@property(nonatomic, strong)UIView *titleView;

///分享的照片
@property(nonatomic, strong)UIImageView *photos;

///简介
@property(nonatomic, strong)UILabel *introduce;

///包含上面的视图
@property(nonatomic, strong)UIView *postView;

///地理位置
@property(nonatomic, strong)UILabel *location;

///发布的时间
@property(nonatomic, strong)UILabel *time;

///包含上面的视图
@property(nonatomic, strong)UIView *extraView;

///预计价值
@property(nonatomic, strong)UIButton *money;

///点赞
@property(nonatomic, strong)UIButton *thumb;

///评论
@property(nonatomic, strong)UIButton *comment;

///包含上面的视图
@property(nonatomic, strong)UIView *toolView;

@property(nonatomic, weak)id<FeedTableViewCellDelegate> delegate;

///模型
@property(nonatomic, strong)FeedModel *model;

@end

